package temp.lho.lws.service;


import temp.lho.lws.pojo.TbRole;
import temp.lho.lws.vo.LoginVo;

import java.util.List;

/**
 * @author liuws
 * @create 2020-06-28 10:02
 */
public interface ILoginService extends IBaseService<LoginVo> {
    /**
     * 登陆
     * @param useraccount 账户
     * @return
     */
    LoginVo login(String useraccount);

    /**
     * 获取用户角色列表
     * @param userId
     * @return
     */
    List<TbRole> findUserRoles(Integer userId);
}
